const Router = require('@koa/router')
const router = new Router({
  prefix: '/users'
})

router.get('/', ctx => {
  ctx.body = '用户列表'
})

router.get('/:id', ctx => {
  ctx.body = `用户id：${ctx.params.id}`
})

module.exports = router
